﻿using DSSDataServiceGenerator.ViewModel;
using System;
using System.Windows;

namespace DSSDataServiceGenerator.Dialogs
{
    public partial class ConnectWindow
    {
        public ConnectWindow(ConnectionViewModel connectionViewModel)
            : base()
        {
            InitializeComponent();

            this.ConnectionViewModel = connectionViewModel;
        }

        public static readonly DependencyProperty ConnectionViewModelProperty = DependencyProperty.Register("ConnectionViewModel", typeof(ConnectionViewModel), typeof(ConnectWindow), new PropertyMetadata(null));
        public ConnectionViewModel ConnectionViewModel
        {
            get { return (ConnectionViewModel)GetValue(ConnectionViewModelProperty); }
            set { SetValue(ConnectionViewModelProperty, value); }
        }
    }
}
